if not exist %PGE_PATH%\SDK md %PGE_PATH%\SDK %PGE_PATH%\SDK\include %PGE_PATH%\SDK\LIB %PGE_PATH%\SDK\DLL %PGE_PATH%\SDK\LIB\Debug %PGE_PATH%\SDK\LIB\Release %PGE_PATH%\SDK\DLL\Debug %PGE_PATH%\SDK\DLL\Release %PGE_PATH%\SDK\PSPLIB\Debug %PGE_PATH%\SDK\PSPLIB\Release

if exist MathExportSymbol.h xcopy /a /d /y MathExportSymbol.h %PGE_PATH%\SDK\include\
if exist PGEMath.h xcopy /a /d /y PGEMath.h %PGE_PATH%\SDK\include\
if exist Structs.h xcopy /a /d /y Structs.h %PGE_PATH%\SDK\include\
if exist CRandom.h xcopy /a /d /y CRandom.h %PGE_PATH%\SDK\include\
if exist SMatrix4.h xcopy /a /d /y SMatrix4.h %PGE_PATH%\SDK\include\
if exist SVector2.h xcopy /a /d /y SVector2.h %PGE_PATH%\SDK\include\
if exist SVector3.h xcopy /a /d /y SVector3.h %PGE_PATH%\SDK\include\
if exist SVector4.h xcopy /a /d /y SVector4.h %PGE_PATH%\SDK\include\
if exist MathDefines.h xcopy /a /d /y MathDefines.h %PGE_PATH%\SDK\include\


if exist %PGE_PATH%\debug\PGEMath.lib xcopy /a /d /y %PGE_PATH%\debug\PGEMath.lib %PGE_PATH%\SDK\LIB\Debug\

if exist %PGE_PATH%\release\PGEMath.lib xcopy /a /d /y %PGE_PATH%\release\PGEMath.lib %PGE_PATH%\SDK\LIB\Release\

if exist %PGE_PATH%\debug\PGEMath.dll xcopy /a /d /y %PGE_PATH%\debug\PGEMath.dll %PGE_PATH%\SDK\DLL\Debug\

if exist %PGE_PATH%\release\PGEMath.dll xcopy /a /d /y %PGE_PATH%\release\PGEMath.dll %PGE_PATH%\SDK\DLL\Release\

make rr
make clean